package com.kasinf.sample.excel.config;

import com.kasinf.framework.excel.core.define.ExcelColumnSelectFunction;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Author : Kaiser
 * @Date: 2025/5/14  16:40
 */
@Component
public class UserStatusFunction implements ExcelColumnSelectFunction {
    /**
     * 对应 @ExcelColumnSelect 注解中的 functionName
     */
    @Override
    public String getName() {
        return "user_status";
    }

    @Override
    public List<String> getOptions() {
        return List.of("正常", "冻结", "注销");
    }
}
